<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
<meta charset="utf-8"/>
<title>哗啦啦后台管理</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->

<link th:href="@{/plugins/font-awesome/css/font-awesome.min.css}" href="plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/plugins/simple-line-icons/simple-line-icons.min.css}" href="plugins/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/plugins/bootstrap/css/bootstrap.min.css}" href="plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/plugins/uniform/css/uniform.default.css}" href="plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/plugins/bootstrap-datetimepicker-0.0.11/css/bootstrap-datetimepicker.min.css}" 
		href="plugins/bootstrap-datetimepicker-0.0.11/css/bootstrap-datetimepicker.min.css" rel="stylesheet" type="text/css"/>

<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN THEME STYLES -->
<link th:href="@{/css/components.css}" href="css/components.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/css/plugins.css}" href="css/plugins.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/layout/css/layout.css}" href="layout/css/layout.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/layout/css/themes/blue.css}" id="style_color" href="layout/css/themes/blue.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/layout/css/custom.css}" href="layout/css/custom.css" rel="stylesheet" type="text/css"/>
<link th:href="@{/plugins/data-tables/DT_bootstrap.css}" rel="stylesheet" href="plugins/data-tables/DT_bootstrap.css"/>
<link th:href="@{/plugins/jquery-ui/jquery.treetable.theme.default.css}" rel="stylesheet" href="plugins/jquery-ui/jquery.treetable.theme.default.css"/>
<link th:href="@{/plugins/jquery-ui/jquery.treetable.css}" rel="stylesheet" href="plugins/jquery-ui/jquery.treetable.css"/>
<link th:href="@{/plugins/jstree/dist/themes/default/style.min.css}" rel="stylesheet" href="plugins/jstree/dist/themes/default/style.min.css"/>

<link th:href="@{/plugins/bootstrap-modal/css/bootstrap-modal.css}" rel="stylesheet" href="plugins/bootstrap-modal/css/bootstrap-modal.css"/>

<script th:src="@{/plugins/jquery-1.11.0.min.js}" src="plugins/jquery-1.11.0.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery.validate.min.js}" src="plugins/jquery.validate.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/messages_zh.js}" src="plugins/messages_zh.js" type="text/javascript"></script>

<script th:src="@{/plugins/jquery-ui/jquery.ui.core.js}" src="plugins/jquery-ui/jquery.ui.core.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-ui/jquery.ui.widget.js}" src="plugins/jquery-ui/jquery.ui.widget.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-ui/jquery.ui.mouse.js}" src="plugins/jquery-ui/jquery.ui.mouse.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-ui/jquery.ui.draggable.js}" src="plugins/jquery-ui/jquery.ui.draggable.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-ui/jquery.ui.droppable.js}" src="plugins/jquery-ui/jquery.ui.droppable.js" type="text/javascript"></script>
<!-- END THEME STYLES -->
<link th:href="@{/favicon.ico}" rel="shortcut icon" href="favicon.ico"/>
<script th:inline="javascript">
	/*<![CDATA[*/
	$(document).ready(function() {

		$("#quit").bind("click", function() {
			location.href ="/admin/login/";
		});
		
	});
	/*]]>*/
</script>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<!-- DOC: Apply "page-header-fixed-mobile" and "page-footer-fixed-mobile" class to body element to force fixed header or footer in mobile devices -->
<!-- DOC: Apply "page-sidebar-closed" class to the body and "page-sidebar-menu-closed" class to the sidebar menu element to hide the sidebar by default -->
<!-- DOC: Apply "page-sidebar-hide" class to the body to make the sidebar completely hidden on toggle -->
<!-- DOC: Apply "page-sidebar-closed-hide-logo" class to the body element to make the logo hidden on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-hide" class to body element to completely hide the sidebar on sidebar toggle -->
<!-- DOC: Apply "page-sidebar-fixed" class to have fixed sidebar -->
<!-- DOC: Apply "page-footer-fixed" class to the body element to have fixed footer -->
<!-- DOC: Apply "page-sidebar-reversed" class to put the sidebar on the right side -->
<!-- DOC: Apply "page-full-width" class to the body element to have full width page without the sidebar menu -->
<body class="page-sidebar-closed-hide-logo page-header-fixed">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<div class="page-header-inner">
		<!-- BEGIN LOGO -->
		<div class="page-logo">
			<a href="index.html">
			<img th:src="@{/layout/img/logo.png}" src="layout/img/logo.png" alt="logo" class="logo-default"/>
			</a>
			<div class="menu-toggler sidebar-toggler hide">
				<!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
			</div>
		</div>
		<!-- END LOGO -->
		<!-- BEGIN RESPONSIVE MENU TOGGLER -->
		<div class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">
		</div>
		<!-- END RESPONSIVE MENU TOGGLER -->
		<!-- BEGIN TOP NAVIGATION MENU -->
		
		<div class="top-menu">
			<ul class="nav navbar-nav pull-right">

				<!-- BEGIN USER LOGIN DROPDOWN -->
				<li class="dropdown dropdown-user">
					<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<img alt="" class="img-circle" th:src="@{/layout/img/avatar3_small.jpg}" src="layout/img/avatar3_small.jpg"/>
					<span th:text="${operator.name}"></span>
					<input type="hidden" th:value="${operator.id}" id="operatorId"/>
					<i class="fa fa-angle-down"></i>
					</a>
					<ul class="dropdown-menu">
						<!-- <li>
							<a href="extra_lock.html">
							<i class="fa fa-lock"></i> 锁屏 </a>
						</li> -->
						<li>
							<a id="quit">
							<i class="fa fa-key"></i> 退出 </a>
						</li>
					</ul>
				</li>
				<!-- END USER LOGIN DROPDOWN -->
				<!-- END USER LOGIN DROPDOWN -->
			</ul>
		</div>
		<!-- END TOP NAVIGATION MENU -->
	</div>
	<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>
<!-- <div class="container"> -->

	<!-- BEGIN CONTAINER -->
	<div class="page-container">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar-wrapper">
			<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
			<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->
			<div class="page-sidebar navbar-collapse collapse">
				<!-- BEGIN SIDEBAR MENU -->
				<ul class="page-sidebar-menu" data-auto-scroll="false" data-auto-speed="150">
					<!-- DOC: To remove the sidebar toggler from the sidebar you just need to completely remove the below "sidebar-toggler-wrapper" LI element -->
					<li class="sidebar-toggler-wrapper">
						<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
						<div class="sidebar-toggler">
						</div>
						<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					</li>
	
					<li class="start" th:classappend="${controllerDescription.category.name.equals('首页')}? 'active open'">
						<a href="index.html" th:href="@{/}"><i class="fa fa-home"></i>
						<span class="title">首页</span>
						</a>
					</li>
					<li  th:classappend="${controllerDescription.category.name.equals('游戏管理')}? 'start active open'">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">游戏管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li th:classappend="${controllerDescription.description.equals('幸运28')}? 'active'" style="display:none;" id="game_luck">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									幸运28管理
									<span class="arrow" th:classappend="${controllerDescription.description.equals('幸运28')}? 'open'"></span>
								</a>
								<ul class="sub-menu">
									<li>
										<a href="#"  th:href="@{/admin/game/luck28/edit}">
											<i class="fa fa-user"></i>
											游戏设置
										</a>
									</li>
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											游戏统计
										</a>
									</li>
								</ul>
								
							</li>
							<li th:classappend="${controllerDescription.description.equals('欢乐11')}? 'active'" style="display:none;" id="game_happy">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									欢乐11管理
									<span class="arrow" th:classappend="${controllerDescription.description.equals('欢乐11')}? 'open'"></span>
								</a>
								<ul class="sub-menu">
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											游戏设置
										</a>
									</li>
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											游戏统计
										</a>
									</li>
								</ul>
								
							</li>
							<li th:classappend="${controllerDescription.description.equals('PK10')}? 'active'" style="display:none;" id="game_pk">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									PK10管理
									<span class="arrow" th:classappend="${controllerDescription.description.equals('PK10')}? 'open'"></span>
								</a>
								<ul class="sub-menu">
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											游戏设置
										</a>
									</li>
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											游戏统计
										</a>
									</li>
								</ul>
								
							</li>
						</ul>
					</li>
					<li th:classappend="${controllerDescription.category.name.equals('商品管理')}? 'start active open'">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">商品管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li th:classappend="${controllerDescription.description.equals('奖品管理')}? 'active'" style="display:none;" id="product_prize1">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									奖品管理
									<span class="arrow"></span>
								</a>
								<ul class="sub-menu" style="display:none;">
									<li>
										<a th:href="@{/admin/product/category/index}"><i class="fa fa-user"></i>奖品分类管理</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('奖品分类')}? 'open'"></span>
									</li>
									<li>
										<a th:href="@{/admin/product/prize/index}"><i class="fa fa-user"></i>奖品管理</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('奖品')}? 'open'"></span>
									</li>
								</ul>
								
							</li>
							<li th:classappend="${controllerDescription.description.equals('兑奖管理')}? 'active'" style="display:none;" id="product_prize2">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									兑奖管理
									<span class="arrow"></span>
								</a>
								<ul class="sub-menu" style="display:none;">
									<li>
										<a th:href="@{/admin/product/note/index}"><i class="fa fa-user"></i>兑奖记录</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('兑奖记录')}? 'open'"></span>
									</li>
									<li>
										<a th:href="@{/admin/product/prizeExplain/add}"><i class="fa fa-user"></i>兑奖说明</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('兑奖说明')}? 'open'"></span>
									</li>
								</ul>
								
							</li>
						</ul>
					</li>
					<li th:classappend="${controllerDescription.category.name.equals('用户管理')}? 'start active open'">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">用户管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li th:classappend="${controllerDescription.description.equals('用户')}? 'active'" style="display:none;" id="user_user">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									用户管理
									<span class="arrow"></span>
								</a>
								<ul class="sub-menu" style="display:none;">
									<li>
										<a th:href="@{/admin/user/userRank/index}"><i class="fa fa-user"></i>用户组管理</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('用户组')}? 'open'"></span>
									</li>
									<li>
										<a th:href="@{/admin/user/user/index}"><i class="fa fa-user"></i>用户管理</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('用户')}? 'open'"></span>
									</li>
								</ul>
								
							</li>
							<!-- <li>
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									短信发送
									<span class="arrow"></span>
								</a>
								<ul class="sub-menu" style="display:none;">
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											短信发送
										</a>
									</li>
									<li>
										<a href="#">
											<i class="fa fa-user"></i>
											发送记录
										</a>
									</li>
								</ul>
							</li> -->
							<li style="display:none;" id="user_sale">
								<a th:href="@{/admin/user/sale/index}"><i class="fa fa-user"></i>活动管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('活动')}? 'open'"></span>
							</li>
						</ul>
					</li>
					<li th:classappend="${controllerDescription.category.name.equals('财务管理')}? 'start active open'"> 
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">财务管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li style="display:none;" id="money_business">
								<a th:href="@{/admin/money/businessMan/index}"><i class="fa fa-user"></i>商户管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('商户管理')}? 'open'"></span>
							</li>
							<li th:classappend="${controllerDescription.description.equals('充值卡管理')}? 'active'" style="display:none;" id="money_card">
								<a href="javascript:;">
									<i class="fa fa-cogs"></i>
									充值卡管理
									<span class="arrow"></span>
								</a>
								<ul class="sub-menu" style="display:none;">
									<li>
										<a th:href="@{/admin/money/card/index}"><i class="fa fa-user"></i>充值卡类型设置</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('充值卡类型设置')}? 'open'"></span>
									</li>
									<li>
										<a th:href="@{/admin/money/createCard/index}"><i class="fa fa-user"></i>充值卡管理</a>
										<span class="arrow" th:classappend="${controllerDescription.description.equals('充值卡管理')}? 'open'"></span>
									</li>
								</ul>
								
							</li>
							<li style="display:none;" id="money_record">
								<a th:href="@{/admin/money/cardRecord/index}"><i class="fa fa-user"></i>支付记录</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('支付记录')}? 'open'"></span>
							</li>
						</ul>
					</li>
					<li style="display:none;">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">数据库管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li>
								<a href="#"><i class="fa fa-bullhorn"></i>备份数据</a>
							</li>
							<li>
								<a href="#"><i class="fa fa-bullhorn"></i>还原数据</a>
							</li>
							<li>
								<a href="#"><i class="fa fa-bullhorn"></i>优化/修复数据</a>
							</li>
							<li>
								<a href="#"><i class="fa fa-bullhorn"></i>执行SQL语句</a>
							</li>
						</ul>
					</li>
					<li th:classappend="${controllerDescription.category.name.equals('安全管理')}? 'start active open'">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">安全管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li style="display:none;" id="sale_operator">
								<a th:href="@{/admin/safe/operator/index}"><i class="fa fa-user"></i>管理员管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('管理员')}? 'open'"></span>
							</li>
							<li style="display:none;" id="sale_record">
								<a th:href="@{/admin/safe/worklog/index}"><i class="fa fa-user"></i>操作日志管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('操作日志')}? 'open'"></span>
							</li>
						</ul>
					</li>
					<li th:classappend="${controllerDescription.category.name.equals('系统管理')}? 'start active open'">
						<a href="javascript:;">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">系统管理</span>
						<span class="arrow open"></span>
						</a>
						<ul class="sub-menu">
							<li>
								<a href="#"><i class="fa fa-bullhorn"></i>站点设置</a>
							</li>
							<li>
								<a href="#"><i class="fa fa-shopping-cart"></i>网站今日统计</a>
							</li>
							<li>
								<a th:href="@{/admin/system/information/index}"><i class="fa fa-user"></i>网站信息管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('网站信息')}? 'open'"></span>
							</li>
							<li>
								<a th:href="@{/admin/system/notice/index}"><i class="fa fa-user"></i>公告信息管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('公告信息')}? 'open'"></span>
							</li>
							<li>
								<a th:href="@{/admin/system/help/index}"><i class="fa fa-user"></i>帮助信息管理</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('帮助信息')}? 'open'"></span>
							</li>
							<li>
								<a th:href="@{/admin/system/holdId/add}"><i class="fa fa-user"></i>保留ID设置</a>
								<span class="arrow" th:classappend="${controllerDescription.description.equals('保留ID')}? 'open'"></span>
							</li>
						</ul>
					</li>
				</ul>
				<!-- END SIDEBAR MENU -->
			</div>
		</div>
		<!-- END SIDEBAR -->
		<!-- BEGIN CONTENT -->
		<div class="page-content-wrapper">
			<div class="page-content">

				<!-- BEGIN PAGE HEADER-->
				<div layout:fragment="page-header">
					<div class="row">
					<div class="col-md-12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title" style="display:none;"><span th:text="${actionName}">商品分类管理</span> <small><span th:text="${actionDescription}"></span></small>
						</h3>
						<ul class="page-breadcrumb breadcrumb">
							<li>
								<i class="fa fa-home"></i>
								<a th:href="@{/}" href="index.html">首页</a>
								<i class="fa fa-angle-right"></i>
							</li>
							<li>
								<span href="#" th:text="${controllerDescription.category.name}">商品管理</span>
								<i class="fa fa-angle-right"></i>
							</li>
							<li>
								<span href="#" th:text="${actionName}">商品分类信息</span>
							</li>
						</ul>
						<!-- END PAGE TITLE & BREADCRUMB-->
					</div>
				</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div th:if="${message}" id = "save_update_message" class="alert alert-block alert-success fade in">
					<button type="button" class="close" data-dismiss="alert"></button>
					<h4 class="alert-heading">操作完成</h4>
					<p>
						 <span th:text="${message}">编辑XX信息成功。</span>
					</p>
				</div>
				<div layout:fragment="content">
					。。。内容建设中
				</div>		
				<!-- END PAGE CONTENT-->
			</div>
		</div>
		<!-- END CONTENT -->
	</div>
	<!-- END CONTAINER -->
<!-- </div> -->
<!-- BEGIN FOOTER -->
<div class="page-footer">
	<div class="page-footer-inner">
		 2014 &copy; Perfect Is Shit.Spring-Boot Project。
	</div>
	<div class="page-footer-tools">
		<span class="go-top">
		<i class="fa fa-angle-up"></i>
		</span>
	</div>
</div>

<input type="hidden" th:value="${prize}" id="prize"/>
<input type="hidden" th:value="${user}" id="user"/>
<input type="hidden" th:value="${game}" id="game"/>
<input type="hidden" th:value="${money}" id="money"/>
<input type="hidden" th:value="${safe}" id="safe"/>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
   <script src="plugins/respond.min.js"></script>
   <script src="plugins/excanvas.min.js"></script> 
   <![endif]-->
<script th:src="@{/plugins/jquery-migrate-1.2.1.min.js}" src="plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script th:src="@{/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js}" src="plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/bootstrap/js/bootstrap.min.js}" src="plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js}" src="plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery-slimscroll/jquery.slimscroll.min.js}" src="plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery.blockui.min.js}" src="plugins/jquery.blockui.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/jquery.cokie.min.js}" src="plugins/jquery.cokie.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/uniform/jquery.uniform.min.js}" src="plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
<script th:src="@{/plugins/bootstrap-datetimepicker-0.0.11/js/bootstrap-datetimepicker.min.js}" 
		src="plugins/bootstrap-datetimepicker-0.0.11/js/bootstrap-datetimepicker.min.js" 
		type="text/javascript"></script>
<!-- END CORE PLUGINS -->
<script th:src="@{/scripts/metronic.js}" src="scripts/metronic.js" type="text/javascript"></script>
<script th:src="@{/layout/scripts/layout.js}" src="layout/scripts/layout.js" type="text/javascript"></script>
<script th:src="@{/plugins/bootbox/bootbox.min.js}" src="plugins/bootbox/bootbox.min.js" type="text/javascript"></script>
<script th:src="@{/scripts/boss.js}" src="scripts/boss.js" type="text/javascript"></script>
<script th:src="@{/plugins/My97DatePicker/WdatePicker.js}" src="/plugins/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<script th:src="@{/scripts/editor/kindeditor-all.js}" src="scripts/editor/kindeditor-all-min.js" type="text/javascript"></script>
<script>
      jQuery(document).ready(function() {    
         Metronic.init(); // init metronic core components
         Layout.init(); // init current layout
         game = $("#game").val().split(",");
         prize = $("#prize").val().split(",");
         user = $("#user").val().split(",");
         money = $("#money").val().split(",");
         safe = $("#safe").val().split(",");
         if($("#game").val() != ""){
        	 $.each(game,function(e,value){
            	 if(value == 0){
            		 $("#game_luck").show();
            	 }else if(value == 1){
            		 $("#game_happy").show();
            	 }else if(value == 2){
            		 $("#game_pk").show();
            	 }
             });
         }
         if($("#prize").val() != ""){
         $.each(prize,function(value){
        	 if(value == 0){
        		 $("#product_prize1").show();
        	 }else if(value == 1){
        		 $("#product_prize2").show();
        	 }
         });
         }
         if($("#user").val() != ""){
         $.each(user,function(value){
        	 if(value == 0){
        		 $("#user_user").show();
        	 }else if(value == 1){
        		 $("#user_sale").show();
        	 }
         });  
         }
         if($("#money").val() != ""){
         $.each(money,function(value){
        	 if(value == 0){
        		 $("#money_business").show();
        	 }else if(value == 1){
        		 $("#money_card").show();
        	 }else if(value == 2){
        		 $("#money_record").show();
        	 }
         });
         }
         if($("#safe").val() != ""){
         $.each(safe,function(value){
        	 if(value == 0){
        		 $("#sale_operator").show();
        	 }else if(value == 1){
        		 $("#sale_record").show();
        	 }
         });  
         }
       /*   if($("#game").val() != null){
        	 msg = $("#game").val().split(",");
        	 if(msg[0].length != 0){
        		 $("#game_luck").show();
        	 }
        	 if(msg[1].length  != 0){
        		 $("#game_happy").show();
        	 }
        	 if(msg[2].length  != 0){
        		 $("#game_pk").show();
        	 }
         }
        
        if($("#prize").val() != null){
        	 msg = $("#prize").val().split(",");
        	 if(msg[0].length != 0){
        		 $("#product_prize1").show();
        	 }
        	 if(msg[1].length  != 0){
        		 $("#product_prize2").show();
        	 }
         }
        
        if($("#user").val() != null){
       	 msg = $("#user").val().split(",");
       	 if(msg[0].length != 0){
       		 $("#user_user").show();
       	 }
       	 if(msg[1].length  != 0){
       		 $("#user_sale").show();
       	 }
        }
        
        //if($("#money").val() != null){
       	 msg = $("#money").val().split(",");
       	 if(msg[0].length != 0){
       		 $("#money_business").show();
       	 }
       	 if(msg[1].length  != 0){
       		 $("#money_card").show();
       	 }
       	 if(msg[2].length  != 0){
       		 $("#money_record").show();
       	 }
       	
        }
        
        if($("#safe").val() != null){
          	 msg = $("#safe").val().split(",");
          	 if(msg[0].length != 0){
          		 $("#sale_operator").show();
          	 }
          	 if(msg[1].length  != 0){
          		 $("#sale_record").show();
          	 }
           } */
        
      });
   </script>
<!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>